package com.goodedeeds.domain;

import com.youtills.core.auth.IAuthorization;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: rchiluve
 * Date: 2/17/14
 * Time: 3:05 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IVendorDao {


    void saveVendor(IAuthorization authorization, IVendor vendor);
    IVendor getVendor(IAuthorization authorization, Long vendorId);
    List<IVendor> getAllVendors(IAuthorization authorization);
    List<IVendorCategory> getVendorCategories(IAuthorization authorization, Long vendorId);
    List<IVendor> searchVendors(IAuthorization authorization, String searchString);

}
